package ru.ifmo.network.skype.network.data;

import ru.ifmo.network.skype.network.data.UserAddress;

/**
 * @author avhaliullin
 */
public class Message {
    private final UserAddress userAddress;
    private final MessageType messageType;

    public Message(UserAddress userAddress, MessageType messageType) {
        this.userAddress = userAddress;
        this.messageType = messageType;
    }

    public UserAddress getUserAddress() {
        return userAddress;
    }

    public MessageType getMessageType() {
        return messageType;
    }
}
